package com.bachongLightNovel.model.vo.works;

import com.bachongLightNovel.model.pojo.works.NovelDetails;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author vermouth
 */
@Data
public class NovelVo {

    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private Long id;
    private String name;
    private String image;
    private String author;
    private String description;
    private LocalDateTime createTime;
    private List<NovelDetails> details;
}
